package com.sense.feel.common.global.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * <br> ClassName:   JsEntity.kt
 * <br> Description: Web 端傳參json字符串解析實體
 * <br> Author:      lionszhang
 * <br> Date:        2021/1/15
 */
/*   //{"tabName":"home","isMainPage":0,"subTabId":0,"callbackId":6}*/
@Parcelize
data class JsEntity(
    var funName:String="",
    var tabName: String = "",
    var isMainPage: Int = 0,
    var subTabId: Int = 0,
    var callbackId: Int = 0,
    var targetUrl: String = "",
    var event: String = "",
    var show: Int = 0, //0 为隐藏 1 XS

    var messageContent: String = "",
    var messageType: String = "",
    var uuid: String = "",
    var skillId: Int = 0,
    var isFromPay:Boolean=false,
// CHARGE RELATIVE data={"iapItemId":"com.sense.1.much5",
// "name":"心約餘額","paymentAmount":33,"receivedAmount":21,
// "currencyKind":"NT$","paymentMethod":"GoogleIAP","rechargeAward":0,
// "rechargeAwardSwitch":false,"residentAward":5,"firstRechargeIap":false,"callbackId":7}
    /**当前充值币种*/
    var currencyKind: String = "",
    var firstRechargeIap: Boolean = false,
    /**当前充值选项Id*/
    var iapItemId: String = "",
    var name: String = "",
    /**当前充值金额*/
    var paymentAmount: Double = 0.0,
    /**支付方式*/
    var paymentMethod: String = "",
    var receivedAmount: Double = 0.0,
    /**赠送额度*/
    var rechargeAward: String = "",
    var rechargeAwardSwitch: String = "",
    var updateFields: List<String> = ArrayList(),
    var residentAward: Int = 0,
    var close: Boolean = false,
    var redirect : Boolean = false

) : Parcelable

